package com.atguigu.gmall.list.client.impl;

import com.atguigu.gmall.common.result.Result;
import com.atguigu.gmall.list.client.ListFeignClient;
import com.atguigu.gmall.list.model.SearchParam;
import org.springframework.stereotype.Component;

/**
 * @Author: 小兰
 * @Date: 2023/4/26 21:12
 */
@Component
public class ListDegradeFeignClient implements ListFeignClient {
    /**
     * 提供给详情服务调用:更新商品热度分值
     *
     * @param skuId
     */
    @Override
    public void incrHotScore(Long skuId) {

    }

    /**
     * 商品检索功能!
     *
     * @param searchParam
     * @return
     */
    @Override
    public Result search(SearchParam searchParam) {
        return null;
    }
}
